home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / html / src / php.src < prev    next >
Text File  |  1998-03-23  |  3KB  |  55 lines

  1. @@@STARTPACK(php;PHP/FI)
  2.  
  3. <P>
  4. The following is taken verbatim from the PHP/FI documentation.
  5. <P>
  6. PHP began life as a simple little cgi wrapper written in Perl.  I
  7. wrote it in an afternoon during a period between contracts when
  8. I needed a quick tool to get an idea of who was reading
  9. my online resume.  It was never intended to go beyond my own
  10. private use.  The web server where I had my resume was extremely
  11. overloaded and had constant problems forking processes.  I rewrote
  12. the Perl wrapper in C to get rid of the considerable overhead of
  13. having to fork Perl each time my resume was accessed.<P>
  14.  
  15. <P>
  16. Eventually other people on the same web server came across my
  17. wrapper and asked if they could use it.  Then, as inevitably
  18. happens, they started asking for more features.  I added more
  19. features and finally put together a semi-complete distribution
  20. along with documentation, a mailing-list and a FAQ.  The name
  21. of this first package was Personal Home Page Tools, which
  22. later became Personal Home Page Construction Kit.<P>
  23.  
  24. <P>
  25. At the same time I started playing with databases and wrote a
  26. tool to easily embed SQL queries into web pages.  It was
  27. basically another CGI wrapper that parsed SQL queries and made
  28. it easy to create forms and tables based on these queries.  This
  29. tool was named FI (Form Interpreter).<P>
  30.  
  31. <P>
  32. PHP/FI version 2.0 is a complete rewrite of these two packages
  33. combined into a single program.  It has now evolved to
  34. the point where it is a simple programming language embedded
  35. inside HTML files.  The original acronym, PHP, has stuck.  It
  36. isn't really appropriate any longer.  PHP/FI is used more for
  37. entire web sites today than for small Personal Home Page
  38. setups.  By whatever name, it eliminates the need for numerous small Perl
  39. cgi programs by allowing you to place simple scripts directly in your
  40. HTML files.  This speeds up the overall performance of your web pages
  41. since the overhead of forking Perl several times has been eliminated.
  42. It also makes it easier to manage large web sites by placing all
  43. components of a web page in a single html file.  By including support
  44. for various databases, it also makes it trivial to develop database
  45. enabled web pages.  Many people find the embedded nature much easier
  46. to deal with than trying to create separate HTML and CGI files.<P>
  47. <P>
  48.  
  49. @@@UW2DIST(http://www.sco.com/skunkware/uw7/net/)
  50. @@@OSR5DIST(http://www.sco.com/skunkware/osr5/net/php/)
  51. @@@SOURCE(ftp://ftp.nerosworld.com/pub/php/dist/)
  52. @@@HOMEPAGE(http://php.iquest.net/)
  53. @@@ENDPACK
  54.  
  55.